import java.io.FileReader;
import java.io.IOException;
import java.util.Scanner;

public class duqu
{
    static String duqu(int n,String dizhi) throws IOException 
    {
        int j=0;
        String fileName = dizhi;
        try (Scanner sl = new Scanner(new FileReader(fileName))) 
        {
            while (sl.hasNextLine()) 
            {  //按行读取字符串
                j=j+1;
                String lin = sl.nextLine();
                if(j==n)
                {
                    return lin;
                }
            }
            return "没有找到数据";
        }
        catch (Exception e) 
        {
            return "读取错误";
        }
    }
}
